package com.ihemou.auth;

import cn.dev33.satoken.SaManager;
import com.ihemou.common.security.annotation.EnableRyFeignClients;
import com.ihemou.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 认证授权中心
 *
 * @author ruoyi
 */
@EnableRyFeignClients
@EnableCustomSwagger2
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class IHeMouAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(IHeMouAuthApplication.class, args);
        System.out.println("启动成功：Sa-Token配置如下：" + SaManager.getConfig());
        System.out.println(
                        "  _    _    _    _    _    _  \n" +
                        " / \\  / \\  / \\  / \\  / \\  / \\ \n" +
                        "( I )( H )( e )( M )( o )( u )\n" +
                        " \\_/  \\_/  \\_/  \\_/  \\_/  \\_/ ");
    }
}
